package com.dyz.swordFingerOffer;

/**
 * @author: daiyizheng
 * @date: 2021/5/30 16:03
 * @description:
 */
public class PrintNumber17 {
    public int [] printNumbers(int n){
        int maxvalue = (int)Math.pow(10, n);
        int[] res = new int[maxvalue-1];
        for(int i =1; i<maxvalue; i++){
            res[i-1] = i;
        }
        return res;
    }
}
